//
//  SCWishViewModel.h
//  Mutal
//
//  Created by TonyStart on 16/10/20.
//  Copyright © 2016年 com.wx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SCWishModel.h"
#import "RefreshCommon.h"


@interface SCWishViewModel : NSObject
@property(nonatomic,strong)NSMutableArray<SCWishModel*> *wishArray;
-(void)requestWishsData:(void(^)())finish;
//分页查找
-(void)requestWishsDataWithPage:(NSInteger)page finish:(void(^)())finish;
//首页推荐
-(void)requestWishsDataIS_TJ:(NSInteger)is_tj finish:(void(^)())finish;
//根据type查找
-(void)requestWishsDataWithType:(NSInteger)type loadType:(refReshLoadType)loadType page:(NSInteger)page finish:(void(^)(BOOL isLoad))finish;
//根据类别查找
-(void)requestWishsDataWithCat:(NSInteger)cat finish:(void(^)())finish;
//关键字查找
-(void)requestWishsDataWithSearch:(NSString*)search finish:(void(^)())finish;
//查找热门愿望
-(void)requestWishsDataWithHot:(NSString*)is_hot loadType:(refReshLoadType)loadType page:(NSInteger)page finish:(void(^)(BOOL isLoad))finish;
//我的愿望
-(void)requestWishsDataByUserId:(NSString*)userId finish:(void(^)())finish;
@end
